Skip to content

[debug-certificate-manager] Add support for resolving home directory and fix auto-sync bug#5314

Merged
bmiddha merged 5 commits intomainfrom
bmiddha/vscode-debug-certificate-manager-fixes
Aug 21, 2025
Merged

[debug-certificate-manager] Add support for resolving home directory and fix auto-sync bug#5314
bmiddha merged 5 commits intomainfrom
bmiddha/vscode-debug-certificate-manager-fixes

Conversation

@bmiddha
Copy link
Member

@bmiddha bmiddha commented Aug 20, 2025

Summary

Add support for resolving home directory and fix auto-sync bug to Debug Certificate Manager VS Code Extension

Details

Home Dir Resolution

This extension runs on the UI Extension Host. I didn't come across any VS Code APIs that would help us resolve the home directory in the remote workspace. This change adds a terminal command runner utility. This util spawns a hidden terminal which I'm using to run a node script to get the home directory.
This resolution will be used if .vscode/debug-certificate-manager.json has the storePath property configured with ~

Bumped required VS Code versions and the API typings to get support for the shell integration APIs

Auto-sync fix

Fixed a bug where enabling auto sync didn't call handleSync.

How it was tested

Tested with macOS and Windows VS Code clients and Codespaces VS Code remote.
Tested the home dir change with ~ paths in the config file.

@bmiddha bmiddha merged commit 3a779a9 into main Aug 21, 2025
5 checks passed
@bmiddha bmiddha deleted the bmiddha/vscode-debug-certificate-manager-fixes branch August 21, 2025 00:33
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants